public class Score2 {
   public static void main(String[] args) {
        int[] scores =new int[10];
        for (int score :scores){
            System.out.printf("%2d",score);
        }
        System.out.println();
        Arrays.fill(scores,60);
        for(int score : scores){
            System.out.printf("%3d",score);
        }
       int [][] cords = {
                {1,2,3},{4,5,6}
        };
        for(int[] row:cords){
            for (int value :row){
                System.out.printf("%2d",value);
            }

        }
        for(int x= 0;x<cords.length;x++){
            for(int y=0;y < cords[x].length;y++){
                System.out.printf("%2d%n",cords[x][y]);
            }
            System.out.println();
        }

        int x=100;
        int y=100;
        Integer wx =x;
        Integer wy = y;
        System.out.println(x==wy);
        System.out.println(y==wy);
        System.out.println(wx.equals(x));
        System.out.println(wy.equals(y));*/


        int [] arr1 ={1,2,3};
        int [] arr2 =arr1;
        arr2[1]=20;
        System.out.println(arr1[1]);

        int []a1 ={1,2,3};
        int []a2=new int[a1.length];
        a2=a1;
        for(int value:a2){
            System.out.printf("%d",value);
        }
       String[] strs = new String[5];
        System.out.println(strs[0]);
        String[][] strs ={{"jf","fj"},{"dfj"}};
        for(String[] row :strs){
            for(String str:row){
                System.out.println(str);
            }
        }

       int a=1,b=1,c,n;
        System.out.print("1,1,");
       for(n=1;n<=10;n++){
           c=a+b;
           a=b;
           b=c;
           System.out.printf("%d,",c);
       }
}
}